package com.gitee.xmhzzz.component.shutdown.graceful.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName ShutdownConfig
 * @Description
 * @Author wzq
 * @Date 2023/11/6 10:50
 * @Version 1.0
 */
@Data
@ConfigurationProperties(prefix = "xmhzzz.graceful.shutdown")
public class ShutdownConfig {
    private boolean enable;
    private int timeout = 10;
}
